package com.hsy.baoinbao.modules.order.gsondata;

import java.util.List;

/**
 * Created by hsy on 2016/3/24.
 */
public class ReceivingOrderDetail {
    private int error;

    private String msg;

    private Result result;

    public void setError(int error) {
        this.error = error;
    }

    public int getError() {
        return this.error;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public Result getResult() {
        return this.result;
    }

    public class Result {
        private int id;

        private String date;

        private String address;

        private String tel;

        private String name_merchant;

        private int is_recycling_man_pay;

        private int status;

        private List<Goods> goods;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getDate() {
            return this.date;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getAddress() {
            return this.address;
        }

        public void setTel(String tel) {
            this.tel = tel;
        }

        public String getTel() {
            return this.tel;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getStatus() {
            return this.status;
        }

        public void setGoods(List<Goods> goods) {
            this.goods = goods;
        }

        public List<Goods> getGoods() {
            return this.goods;
        }

        public String getName_merchant() {
            return name_merchant;
        }

        public void setName_merchant(String name_merchant) {
            this.name_merchant = name_merchant;
        }

        public int getIs_recycling_man_pay() {
            return is_recycling_man_pay;
        }

        public void setIs_recycling_man_pay(int is_recycling_man_pay) {
            this.is_recycling_man_pay = is_recycling_man_pay;
        }
    }

    public class Children {
        private int id;

        private int parent_id;

        private long qty;

        private String name;

        private String price;

        private String unit;

        public long getQty() {
            return qty;
        }

        public void setQty(long qty) {
            this.qty = qty;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setParent_id(int parent_id) {
            this.parent_id = parent_id;
        }

        public int getParent_id() {
            return this.parent_id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice() {
            return this.price;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getUnit() {
            return this.unit;
        }

    }

    public class Goods {
        private int id;

        private String name;

        private List<Children> children;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setChildren(List<Children> children) {
            this.children = children;
        }

        public List<Children> getChildren() {
            return this.children;
        }

    }

}
